# Copyright 2009 Larry Resnik, Lasfraka-Elixir

#   This program is free software: you can redistribute it and/or modify
#   it under the terms of the GNU General Public License as published by
#   the Free Software Foundation, either version 3 of the License, or
#   (at your option) any later version.

#   This program is distributed in the hope that it will be useful,
#   but WITHOUT ANY WARRANTY; without even the implied warranty of
#   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#   GNU General Public License for more details.

#   You should have received a copy of the GNU General Public License
#   along with this program.  If not, see <http://www.gnu.org/licenses/>.


from distutils.core import setup
import py2exe

myOptions = {
    'py2exe':{
        'excludes':['pdb', 'pstats', 'pychecker', 'cProfile', 'Tkconstants',
            'Tkinter', 'tcl', 'email', 'socket', 'pickle', 'HTMLParser',
            'calender'],
        # numpy is used by audiere.
        'includes':['numpy'],
        'optimize':1,
        # The MSVCP90.dll exclude is specific to Python 2.6's build of py2exe.
        # It was built with MSVC and has some dependencies from it.
# http://stackoverflow.com/questions/323424/py2exe-fails-to-generate-an-executable
        'dll_excludes':['MSVCP90.dll'],
        'dist_dir':'MegaMariX',
    }
}

setup(
    options=myOptions,
    windows=['megamarix.py'],
)
